import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/Index'
import News from '@/components/news/Index'
import NewsItem from '@/components/news/Item'
import Download from '@/components/Download'
import DataIndex from '@/components/data/Index'
import DataBackground from '@/components/data/Background'
import DataYiZhuan from '@/components/data/YiZhuan'
import DataErZhuan from '@/components/data/ErZhuan'
import DataRoom from '@/components/data/Room'
import DataSociaty from '@/components/data/Sociaty'
import DataDiy from '@/components/data/Diy'
import DataLianJi from '@/components/data/LianJi'
import DataShop from '@/components/data/Shop'
import DataFight from '@/components/data/Fight'
import DataJobTree from '@/components/data/JobTree'
import DataGuide from '@/components/data/Guide'

// 新增页面
import BasicOperation from '@/components/data/BasicOperation'
import Daquan from '@/components/data/Daquan'
import Npcdes from '@/components/data/Npcdes'
import GameDes from '@/components/data/GameDes'
import Skill from '@/components/data/Skill'
import NewHand from '@/components/data/NewHand'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },{
        path : '/download',
        component : Download
    },{
        path : '/data',
        component : DataIndex
    },{
      path : '/data/background',
      component : DataBackground
    }, {
      path : '/data/yi-zhuan',
      component : DataYiZhuan
    }, {
      path : '/data/er-zhuan',
      component : DataErZhuan
    },{
      path : '/data/room',
      component : DataRoom
    },{
      path : '/data/shop',
      component : DataShop
    }, {
      path : '/data/sociaty',
      component : DataSociaty
    }, {
      path : '/data/guide',
      component : DataGuide
    },{
      path : '/news',
      component : News
    },{
      path : '/news/item',
      component : NewsItem
    },{
      path : '/data/diy',
      component : DataDiy
    },{
      path : '/data/lian-ji',
      component : DataLianJi
    },{
      path : '/data/fight',
      component : DataFight
    },{
      path : '/data/job-tree',
      component : DataJobTree
    }, {
      path: '/data/BasicOperation',
      component: BasicOperation
    }, {
      path: '/data/daquan',
      component: Daquan
    },{
      path: '/data/npcdes',
      component: Npcdes
    }, {
      path: '/data/gameDes',
      component: GameDes
    }, {
      path: '/data/skill',
      component: Skill
    }, {
      path: '/data/newHand',
      component: NewHand
    }
  ]
})
